<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html" 
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:c="http://java.sun.com/jsp/jstl/core" >
 <head>
 </head>     
 				<h:form>
				<h:panelGrid columns="2">
						<h:outputText  value="Số HC/Mã đoàn (*):" style="margin-left:20px;" styleClass="inputText" ></h:outputText>
						<h:inputText value="#{beanSearch.soHC_MaDoan}" styleClass="Input" id="idName" style="margin-left:8px;">
							<a4j:support event="onchange" reRender="idout" 
								action="#{beanSearch.search}"/>
						</h:inputText>
						<h:outputText value="Số HC/Mã đoàn vừa chọn:" style="margin-left:20px;" styleClass="inputText"></h:outputText>
						<h:outputText id="idout" value="#{beanSearch.soHC_MaDoan}"></h:outputText>
					 </h:panelGrid>
					
 				</h:form>
				<!-- 	 
				<h:form>
				<h:outputText  value="Số HC/Mã đoàn (*):" style="margin-left:20px;" styleClass="inputText" ></h:outputText>
					<h:inputText value="#{beanSearch.soHC_MaDoan}" styleClass="Input" id="idName" style="margin-left:8px;">
						<a4j:support event="onchange" reRender="idout" 
							limitToList="true" action="#{beanSearch.search}"/>
					</h:inputText>
					<h:outputText value="Số HC/Mã đoàn vừa chọn:" style="margin-left:20px;" styleClass="inputText"></h:outputText>
					<h:outputText id="idout" value="#{beanSearch.soHC_MaDoan}"></h:outputText>
				</h:form>
				 -->
      
 </html>     